#include<stdio.h>
#include<time.h>
int main()
{
    time_t cutime=0;
    time(&cutime);//得到时间戳
    printf("%ld\n",cutime);
    printf("当前日期:%s",ctime(&cutime));
}